package com.demo.server.mapper;

import java.util.List;

import com.demo.server.entity.Role;

public interface RoleMapper {
    int deleteByPrimaryKey(String id);

    int insert(Role row);

    int insertSelective(Role row);

    Role selectByPrimaryKey(String id);
    
    List<String> selectIdByUserId(String userId);
    
    List<Role> selectAll();
    
    List<Role> select(Role row);

    int updateByPrimaryKeySelective(Role row);

    int updateByPrimaryKey(Role row);
}